package com.wsx.ones.cloud.service;

import org.springframework.stereotype.Component;

/**
 * feign的短路器功能，需要实现feign的接口，并且在feign上指定断路器类
 * Created by wangshuaixin on 17/5/9.
 */
@Component
public class ScheduledServiceFeign implements ClientService {

    @Override
    public String getValue() {
        return "feign error";
    }
}
